home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / gmd_300.arc / SAMPLE.CFG < prev    next >
Text File  |  1991-09-11  |  17KB  |  381 lines

  1.  
  2. ;                       Sample GMD configuration file
  3. ;                       =============================
  4.  
  5.  
  6. ; ****************************************************************************
  7. ;
  8. ; PLEASE NOTE:
  9. ;
  10. ; GMD is a very powerful program.  Used properly, GMD can detect many types of
  11. ; grunged messages and some types of duplicate messages.  It can also be used
  12. ; as a management tool by Moderators, an independent verification tool by
  13. ; software authors, and a testing tool by the average SysOp.
  14. ;
  15. ; Used improperly, GMD is capable of deleting valid echo mail, generating
  16. ; false warning messages, and violating Policy in general.  Thus, you should
  17. ; be very careful in setting it up and in using it.  If you haven't read and
  18. ; understood FTS-0001 and FTS-0004 then you should not attempt to configure or
  19. ; use GMD.
  20. ;
  21. ; To protect you, me and the rest of the Net, GMD will not delete an echo mail
  22. ; message without sending an information message to the originator.
  23. ;
  24. ;
  25. ; Please refer to the the GMD documentation file for more information.
  26. ;
  27. ;
  28. ; You will have to change the sample values below to suit your own needs.
  29.  
  30.  
  31. ; ****************************************************************************
  32. ;
  33. ;                             General Operation
  34. ;
  35. ; This section contains general information about your system and how GMD
  36. ; should operate.
  37.  
  38. General:
  39.  
  40. ; GMD logs to the screen and to a file.  You can specify the level of detail
  41. ; you want for each.  Each level includes the information in lower levels.
  42. ; The levels are:
  43. ;
  44. ;       4       Log every message (even OK messages)
  45. ;       3       Log each non-conforming message, lots of details
  46. ;       2       Log each non-conforming message, less detail
  47. ;       1       Log only packets processed, fatal errors and summary
  48. ;
  49. Log.Screen_Level        = 1                     ; 1 - 4
  50. Log.Level               = 3                     ; 1 - 4
  51. Log.File                = GMD.Log               ; filespec
  52.  
  53. ; These will generate some summary statistics about the numbers and types of
  54. ; non-conforming messages.  The first appends this information to the above
  55. ; logs.  The second sends this information to you in a net mail message.
  56. ;
  57. Log.Error_Stats         = y                     ; y or n
  58. Mail.Error_Stats        = y                     ; y or n
  59.  
  60. ; This defines the directory containing the incoming packets.  It is usually
  61. ; your inbound mail area.
  62. ;
  63. Mail.Inbound            = C:\In\                ; directory with trailing "\"
  64.  
  65. ; This is the name of the echo mail area where GMD will send "saved" copies of
  66. ; non-conforming messages.
  67. ;
  68. Mail.Bad_Area           = GMD_Bad               ; echo area name
  69.  
  70. ; This tells GMD whether or not to set the "kill/sent" attribute in the
  71. ; information messages which it generates.
  72. ;
  73. Info_Message.Kill_Sent  = y                     ; y or n
  74.  
  75. ; This tells GMD the name of the statistical database.  In this data base GMD
  76. ; maintains statistical information about the number and types of errors
  77. ; encountered  for each node.  The database is cleared by deleting the file.
  78. ; GMD provides a reporting program.  See the documentation for the reporting
  79. ; program for the details of database file layout.
  80. ;
  81. Stat.File               = GMD.Dat               ; filespec
  82.  
  83. ; This tells GMD the maximum number of information messages to send to a
  84. ; particular node.  It uses the statistical database defined above.  This
  85. ; parameter has no effect when the information message is generated because a
  86. ; message has been deleted.  If 0 is specified, no checking is performed.
  87. ;
  88. Stat.Max_Nr_To_Node     = 1                     ; 0 or 1 - 10
  89.  
  90. ; This partially stops your GMD from processing incoming packets which have
  91. ; already been handled by another node running GMD.  It stops your GMD from
  92. ; generating information messages and save copies, unless a delete is also
  93. ; called for, in which case it processes normally.  This allows for the
  94. ; possibility of a message being grunged after it has been processed by a
  95. ; node running GMD.
  96. ;
  97. ;Ignore_Pkt_From        = 1:13/13 147/100       ; node address(es), optional
  98.                                                 ; short form is OK.
  99.                                                 ; Example:  396/1 2 3
  100.  
  101. ; This stops your GMD from processing incoming packets which are addressed to
  102. ; certain nodes.  This allows for "passthrough" packets which your system is
  103. ; not going to import or toss.  This complements QM's Pkt_Forward feature.
  104. ;
  105. ;Ignore_Pkt_To          = 1:396/2 1:1/1         ; node address(es), optional
  106.                                                 ; short form is OK.
  107.                                                 ; Example:  396/1 2 3
  108.  
  109. ; This stops GMD from checking packet endings to see if the are legal or not.
  110. ;
  111. Ignore_Illegal_Packet_Ending = y                ; y or n
  112.  
  113.  
  114. ; ****************************************************************************
  115. ;
  116. ;                              Set Definitions
  117. ;
  118. ; This section contains definitions of sets which are used in the Default and
  119. ; Area Sections.  Sets are used to specify character sets and zone numbers,
  120. ; for example.  You can name them whatever you want to and you can have as
  121. ; many as you need.
  122. ;
  123. ; You can specify single number(s) or range(s) of numbers.  A number is
  124. ; decimal by default, but can also be in hex or character form.  Hex numbers
  125. ; start with "0x" and are followed by the hex digits.  Characters are enclosed
  126. ; in single quotes (').  In all cases the numbers must be between 0 and 255.
  127. ; A range a number, followed by the word "to", followed by the other number.
  128. ; If more than one number, or range, is used, each must be separated by a
  129. ; comma.
  130.  
  131. Sets:
  132.  
  133. Char_ASCII              = ' ' to 126
  134. Char_HiBit              = ' ' to 165, 168, 173, 224 to 240
  135. Char_All                = 0x01 to 0xFF
  136.  
  137. Zone_1                  = 1
  138. Zone_2                  = 2
  139. Zone_3                  = 3
  140. Zone_4                  = 4
  141. Zone_5                  = 5
  142. Zone_6                  = 6
  143. Zone_Fido               = 1 to 6
  144. Zone_All                = 1 to 255
  145.  
  146.  
  147. ; ****************************************************************************
  148. ;
  149. ;                         Default Message Standards
  150. ;
  151. ; This section contains the default settings used for the echo areas.  These
  152. ; settings can be overridden for specific echoes by using the Area Section.
  153. ;
  154. ; Most of these parameters test conditions, hence use the "ids" commands.
  155.  
  156. Default:
  157.  
  158. ; Define you system's address and your name.  These are used in the
  159. ; information messages that GMD generates.
  160. ;
  161. System.Domain           = fidonet.org           ; string
  162. System.Zone             = 0                     ; 1 - 255
  163. System.Net              = 0                     ; 1 - 65535
  164. System.Node             = 0                     ; 0 - 65535
  165. System.Point            = 0                     ; 0 - 65535
  166. System.SysOp            = "John Doe"            ; string
  167. System.Private_Net      = 30202                 ; 0 - 65535, optional
  168.  
  169. ; The message length is the length of the packed message.  This includes the
  170. ; header and the "unbounded text" of the message.  In other words, all of the
  171. ; control fields are included.
  172. ;
  173. Message.Length          = 12288         s       ; 8192 - 60000, "ids"
  174.  
  175. ; When GMD wants to send an information message, it will only do so if the
  176. ; message is going to one of these zones.  Since GMD will not delete a message
  177. ; unless it is allowed to send an information message back to the originator,
  178. ; not including a zone here will prevent messages from that zone from being
  179. ; deleted.  GMD is able to save a copy for you, regardless.
  180. ;
  181. Info.Zones              = Zone_1                ; set
  182.  
  183. ; GMD sends two styles of information messages, depending on whether or not
  184. ; the non-conforming message was deleted (as per the setting of the "d"
  185. ; command).  The messages are built from one of two template files, and one
  186. ; of two subjects.
  187. ;
  188. Info_Message.Pass_File          = GMD.Pas       ; filespec
  189. Info_Message.Delete_File        = GMD.Del       ; filespec
  190. Info_Message.Pass_Subject       = "Grunged Message Detected"  ; string
  191. Info_Message.Delete_Subject     = "Grunged Message Deleted"   ; string
  192.  
  193. ; This is the criteria that GMD uses to test the conformance of the "To"
  194. ; field.
  195. ;
  196. ; - "Alphabet" checks for illegal characters (not in the specified set).
  197. ; - "Empty" checks for an empty field.
  198. ; - "Length" checks that the field is not longer than specified in FTS-0001.
  199. ;
  200. To.Alphabet             = Char_HiBit    s       ; set, "ids"
  201. To.Empty                = y             s       ; y or n, "is"
  202. To.Length               = y             s       ; y or n, "ids"
  203.  
  204. ; This is the criteria that GMD uses to test the conformance of the "From"
  205. ; field.  See "To.xxx" for descriptions of the tests.
  206. ;
  207. From.Alphabet           = Char_HiBit    s       ; set, "ids"
  208. From.Empty              = y             s       ; y or n, "is"
  209. From.Length             = y             s       ; y or n, "ids"
  210.  
  211. ; This is the criteria that GMD uses to test the conformance of the "Subject"
  212. ; field.  See "To.xxx" for descriptions of the tests.
  213. ;
  214. Subject.Alphabet        = Char_HiBit    s       ; set, "ids"
  215. Subject.Empty           = n             s       ; y or n, "is"
  216. Subject.Length          = y             s       ; y or n, "ids"
  217.  
  218. ; This is the criteria that GMD uses to test the conformance of the "Date"
  219. ; field.
  220. ;
  221. ; - "Bad" tests for legal formats as specified in FTS-0001.
  222. ; - "One_Space_OK" exempts the case of only having one space, instead of two,
  223. ;       between the date and time from being tested by "Bad".
  224. ; - "Old" tests for dates which are too many days old.
  225. ; - "New" tests for dates which are too many days in the future.
  226. ;
  227. Date.Bad                = y             s       ; y or n, "ids"
  228. Date.One_Space_OK       = y                     ; y or n
  229. Date.Old                = 30            s       ; 15 - 255, "ids"
  230. Date.New                = y             s       ; y or n, "ids"
  231.  
  232. ; This is the criteria that GMD uses to test the conformance of the "Body" of
  233. ; the message.
  234. ;
  235. ; - "Alphabet" tests for illegal characters (not in the specified set).
  236. ;       Hidden lines are NOT tested.
  237. ;
  238. Body.Alphabet           = Char_All      s       ; set, "is"
  239.  
  240. ; This is the criteria that GMD uses to test the conformance of the gated
  241. ; origin line(s).  A gated origin line starts with " # Origin: ".
  242. ;
  243. ; - "Sequence" tests that a gated origin line immediately follows another
  244. ;       gated origin line, unless it is the first one.
  245. ; - "Max_Len" tests that the line is no longer than the specified length.
  246. ; - "Alphabet" tests for illegal characters (not in the specified set).
  247. ;
  248. Gated_Origin.Sequence   = y                     ; y or n, "ids"
  249. Gated_Origin.Max_Len    = 79                    ; 79 - 255, "ids"
  250. Gated_Origin.Alphabet   = Char_HiBit            ; set, "ids"
  251.  
  252. ; This is the criteria that GMD uses to test the conformance of the origin
  253. ; line.  An origin line starts with " * Origin: ".
  254. ;
  255. ; - "Ending" tests that a ")" is the last character on the origin line.
  256. ; - "Exist" tests for the existence of at least 1 origin line.
  257. ; - "Sequence" tests that the origin line immediately follows a gated origin
  258. ;       line, if there are any.
  259. ; - "Max_Nr" tests that there are no more than the specified number of origin
  260. ;       lines.
  261. ; - "Max_Len" tests that the line is no longer than the specified length.
  262. ; - "Alphabet" tests for illegal characters (not in the specified set).
  263. ; - "Node" tests for a legally formatted node number at the end of the line
  264. ;       in "()".
  265. ; - "Default_Zone" uses the "System.Zone" zone number in case the node number
  266. ;       does not include a zone.
  267. ; - "Default_MsgId" uses the address information in the "MSGID:" hidden line
  268. ;       as a fallback address for the information message if the address in
  269. ;       the origin cannot be determined.
  270. ; - "Zones" tests for illegal zones (not in the specified set).
  271. ;
  272. Origin.Ending           = y             s       ; y or n, "ids"
  273. Origin.Exist            = y             s       ; y or n, "ids"
  274. Origin.Sequence         = y             s       ; y or n, "ids"
  275. Origin.Max_Nr           = 1             s       ; 1 - 10, "ids"
  276. Origin.Max_Len          = 79            s       ; 79 - 255, "ids"
  277. Origin.Alphabet         = Char_HiBit    s       ; set, "ids"
  278. Origin.Node             = y             s       ; y or n, "ids"
  279. Origin.Default_Zone     = y                     ; y or n
  280. Origin.Default_MsgId    = y                     ; y or n
  281. Origin.Zones            = Zone_All      s       ; set, "ids"
  282.  
  283. ; This is the criteria that GMD uses to test the conformance of the seen-by
  284. ; line(s).  A seen-by line starts with:  "SEEN-BY: ".
  285. ;
  286. ; - "Exist" tests for the existence of at least 1 seen-by line.
  287. ; - "Sequence" tests that the seen-by line immediately follows the origin
  288. ;       line, or another seen-by line.
  289. ; - "Empty" tests that there is at least one node listed.
  290. ; - "Max_Len" tests that the line is no longer than the specified length.
  291. ; - "Node" tests for a legally formatted node numbers.  There must be at least
  292. ;       one.  They must be sorted.  There must be no zone or point numbers.
  293. ; - "Node_Dupes_OK" exempts the case of only duplicate node numbers from being
  294. ;       tested by "Node".
  295. ; - "Max_Nodes" tests that there are no more than the specified number of
  296. ;       nodes.
  297. ;
  298. Seen_By.Exist           = y             s       ; y or n, "ids"
  299. Seen_By.Sequence        = y             s       ; y or n, "ids"
  300. Seen_By.Empty           = y             s       ; y or n, "ids"
  301. Seen_By.Max_Len         = 80            s       ; 80 - 255, "ids"
  302. Seen_By.Node            = y             s       ; y or n, "ids"
  303. Seen_By.Node_Dupes_OK   = y                     ; y or n
  304. Seen_By.Max_Nodes       = 500           s       ; 300 - 2000, "ids"
  305.  
  306. ; This is the criteria that GMD uses to test the conformance of the path
  307. ; line(s).  A path line starts with:  "^aPATH: ".
  308. ;
  309. ; - "Exist" tests for the existence of at least 1 path line.
  310. ; - "Sequence" tests that the path line immediately follows the seen-by
  311. ;       line(s) or another path line.
  312. ; - "Empty" tests that there is at least one node listed.
  313. ; - "Max_Len" tests that the line is no longer than the specified length.
  314. ; - "Node" tests for a legally formatted node numbers.  There must be at least
  315. ;       one.  There must be no zone or point numbers.
  316. ; - "Node_4D_OK" exempts the cases of zone and point numbers from being tested
  317. ;       by "Node".
  318. ; - "Max_Nodes" tests that there are no more than the specified number of
  319. ;       nodes.
  320. ;
  321. Path.Exist              = y             s       ; y or n, "ids"
  322. Path.Sequence           = y             s       ; y or n, "ids"
  323. Path.Empty              = y             s       ; y or n, "ids"
  324. Path.Max_Len            = 80            s       ; 80 - 255, "ids"
  325. Path.Node               = y             s       ; y or n, "ids"
  326. Path.Node_4D_OK         = n                     ; y or n
  327. Path.Max_Nodes          = 200           s       ; 100 - 200, "ids"
  328.  
  329. ; This is the criteria that GMD uses to test the conformance of the EOM (end
  330. ; of message).
  331. ;
  332. ; - "Sequence" tests that the EOM immediately follows the path line(s).
  333. ;
  334. End.Sequence            = y             s       ; y or n, "ids"
  335.  
  336.  
  337. ; ****************************************************************************
  338. ;
  339. ;                             Exception Areas
  340. ;
  341. ; These are optional sections which contain exceptions to the defaults listed
  342. ; in the Default Section.  Any setting listed there can be overridden for
  343. ; specific echoes.  An echo mail area can only be listed in one Exception Area
  344. ; Section.
  345. ;
  346. ; The only required parameter in an Area Section is "Echoes".  It lists the
  347. ; echo mail areas for which the exceptions which follow it apply.
  348. ;
  349. ; This is an example of how to set different "Date.Old" criteria for two
  350. ; echoes:
  351. ;
  352. ;   Area:
  353. ;       Echoes                  = COMM, TECH
  354. ;       Date.Old                = 20            is
  355. ;
  356. ; This is an example of how someone in an additional Network might set up.
  357. ; Note the included file with the list of echoes:
  358. ;
  359. ;   Area:
  360. ;       Echoes                  = @Other_Echo.Lst
  361. ;       System.Domain           = other
  362. ;       System.Zone             = 7
  363. ;       System.Net              = 9999
  364. ;       System.Node             = 8888
  365. ;       System.Point            = 0
  366. ;       System.SysOp            = "Other Name"
  367. ;       Info.Zones              = Zone_7
  368. ;       Origin.Zones            = Zone_7        is
  369. ;
  370. ; This is an example of how a Moderator might automate part of his chores.
  371. ; It would send out a special information message to anyone who used a
  372. ; non-ASCII character in the body of the message.
  373. ;
  374. ;   Area:
  375. ;       Echoes                  = MY_ECHO
  376. ;       Info_Message.Pass_File  = My_Echo.Rul
  377. ;       Body.Alphabet           = Char_ASCII    is
  378.  
  379.  
  380. ;                                  - End -
  381.